<template>
  <div class="header">
      <div class="header-left">
          <div class="iconfont back-incon" >&#xe6b7;</div>
      </div>
      <div class="header-middle">
          <span class="iconfont ">&#xe633;</span>
          内容</div>
      <div class="header-right">城市</div>
  </div>
</template>
<script>
export default {
  name: 'HomeHeader'
}
</script>
<style lang="stylus" scoped>
@import '~@/assets/styles/varibles.styl'
/* 1rem等于html font-size = 50px 首先父集要有font-size=50px */
/* 要对其 */
.header
  display flex
  line-height  .86rem
  background-color $bgColor
  .header-left
      width .64rem
      float left
      text-align center
      .back-incon
          text-align center
          font-size .4rem
  .header-middle
      flex 1
      height .64rem
      background #fff
      text-align center
      border-radius .1rem
      margin-top .12rem
      margin-left .2rem
      line-height .64rem
      color #ccc
  .header-right
      width 1.24rem
      float right
      text-align center

</style>
